package com.i.template.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.i.template.domain.MusicDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author lewis
 * @type interface
 * @description
 * @since 2024/8/2
 */
@Mapper
public interface MusicMapper extends BaseMapper<MusicDO> {
    Boolean saveMusicToList(Map<String,Long> map);
    List<MusicDO> queryMusicListByUserId(@Param("id") Long id);
}
